
bootLoader.o:     file format elf32-i386

Disassembly of section .text:

00007c00 <start>:
    7c00:	fa                   	cli    
    7c01:	fc                   	cld    
    7c02:	31 c0                	xor    %eax,%eax
    7c04:	8e d8                	mov    %eax,%ds
    7c06:	8e c0                	mov    %eax,%es
    7c08:	8e d0                	mov    %eax,%ss

00007c0a <seta20.1>:
    7c0a:	e4 64                	in     $0x64,%al
    7c0c:	a8 02                	test   $0x2,%al
    7c0e:	75 fa                	jne    7c0a <seta20.1>
    7c10:	b0 d1                	mov    $0xd1,%al
    7c12:	e6 64                	out    %al,$0x64

00007c14 <seta20.2>:
    7c14:	e4 64                	in     $0x64,%al
    7c16:	a8 02                	test   $0x2,%al
    7c18:	75 fa                	jne    7c14 <seta20.2>
    7c1a:	b0 df                	mov    $0xdf,%al
    7c1c:	e6 60                	out    %al,$0x60
    7c1e:	0f 01 16             	lgdtl  (%esi)
    7c21:	74 7c                	je     7c9f <readSector+0x1f>
    7c23:	0f 20 c0             	mov    %cr0,%eax
    7c26:	66 83 c8 01          	or     $0x1,%ax
    7c2a:	0f 22 c0             	mov    %eax,%cr0
    7c2d:	ea 32 7c 08 00 66 b8 	ljmp   $0xb866,$0x87c32

00007c32 <protCSeg>:
    7c32:	66 b8 10 00          	mov    $0x10,%ax
    7c36:	8e d8                	mov    %eax,%ds
    7c38:	8e c0                	mov    %eax,%es
    7c3a:	8e e0                	mov    %eax,%fs
    7c3c:	8e e8                	mov    %eax,%gs
    7c3e:	8e d0                	mov    %eax,%ss
    7c40:	66 b8 18 00          	mov    $0x18,%ax
    7c44:	8e e8                	mov    %eax,%gs
    7c46:	bc 00 7c 00 00       	mov    $0x7c00,%esp
    7c4b:	e8 00 01 00 00       	call   7d50 <bootMain>

00007c50 <shouldNotToHere>:
    7c50:	eb fe                	jmp    7c50 <shouldNotToHere>
    7c52:	66 90                	xchg   %ax,%ax

00007c54 <gdt>:
	...
    7c5c:	ff                   	(bad)  
    7c5d:	ff 00                	incl   (%eax)
    7c5f:	00 00                	add    %al,(%eax)
    7c61:	9a cf 00 ff ff 00 00 	lcall  $0x0,$0xffff00cf
    7c68:	00 92 cf 00 ff ff    	add    %dl,-0xff31(%edx)
    7c6e:	00 80 0b 92 cf 00    	add    %al,0xcf920b(%eax)

00007c74 <gdtDescription>:
    7c74:	1f                   	pop    %ds
    7c75:	00 54 7c 00          	add    %dl,0x0(%esp,%edi,2)
    7c79:	00 90 90 90 90 90    	add    %dl,-0x6f6f6f70(%eax)
    7c7f:	90                   	nop    

00007c80 <readSector>:
    7c80:	55                   	push   %ebp
    7c81:	ba f7 01 00 00       	mov    $0x1f7,%edx
    7c86:	89 e5                	mov    %esp,%ebp
    7c88:	8b 4d 0c             	mov    0xc(%ebp),%ecx
    7c8b:	57                   	push   %edi
    7c8c:	8d 74 26 00          	lea    0x0(%esi),%esi
    7c90:	ec                   	in     (%dx),%al
    7c91:	25 c0 00 00 00       	and    $0xc0,%eax
    7c96:	83 f8 40             	cmp    $0x40,%eax
    7c99:	75 f5                	jne    7c90 <readSector+0x10>
    7c9b:	ba f2 01 00 00       	mov    $0x1f2,%edx
    7ca0:	b8 01 00 00 00       	mov    $0x1,%eax
    7ca5:	ee                   	out    %al,(%dx)
    7ca6:	b2 f3                	mov    $0xf3,%dl
    7ca8:	89 c8                	mov    %ecx,%eax
    7caa:	ee                   	out    %al,(%dx)
    7cab:	c1 e9 08             	shr    $0x8,%ecx
    7cae:	b2 f4                	mov    $0xf4,%dl
    7cb0:	89 c8                	mov    %ecx,%eax
    7cb2:	ee                   	out    %al,(%dx)
    7cb3:	c1 e9 08             	shr    $0x8,%ecx
    7cb6:	b2 f5                	mov    $0xf5,%dl
    7cb8:	89 c8                	mov    %ecx,%eax
    7cba:	ee                   	out    %al,(%dx)
    7cbb:	c1 e9 08             	shr    $0x8,%ecx
    7cbe:	b2 f6                	mov    $0xf6,%dl
    7cc0:	89 c8                	mov    %ecx,%eax
    7cc2:	83 c8 e0             	or     $0xffffffe0,%eax
    7cc5:	ee                   	out    %al,(%dx)
    7cc6:	b8 20 00 00 00       	mov    $0x20,%eax
    7ccb:	b2 f7                	mov    $0xf7,%dl
    7ccd:	ee                   	out    %al,(%dx)
    7cce:	66 90                	xchg   %ax,%ax
    7cd0:	ec                   	in     (%dx),%al
    7cd1:	25 c0 00 00 00       	and    $0xc0,%eax
    7cd6:	83 f8 40             	cmp    $0x40,%eax
    7cd9:	75 f5                	jne    7cd0 <readSector+0x50>
    7cdb:	8b 7d 08             	mov    0x8(%ebp),%edi
    7cde:	b9 80 00 00 00       	mov    $0x80,%ecx
    7ce3:	ba f0 01 00 00       	mov    $0x1f0,%edx
    7ce8:	fc                   	cld    
    7ce9:	f2 6d                	repnz insl (%dx),%es:(%edi)
    7ceb:	5f                   	pop    %edi
    7cec:	5d                   	pop    %ebp
    7ced:	c3                   	ret    
    7cee:	66 90                	xchg   %ax,%ax

00007cf0 <readseg>:
    7cf0:	55                   	push   %ebp
    7cf1:	89 e5                	mov    %esp,%ebp
    7cf3:	57                   	push   %edi
    7cf4:	56                   	push   %esi
    7cf5:	53                   	push   %ebx
    7cf6:	83 ec 08             	sub    $0x8,%esp
    7cf9:	8b 45 08             	mov    0x8(%ebp),%eax
    7cfc:	8b 55 10             	mov    0x10(%ebp),%edx
    7cff:	89 c7                	mov    %eax,%edi
    7d01:	89 c6                	mov    %eax,%esi
    7d03:	81 e7 ff ff ff 00    	and    $0xffffff,%edi
    7d09:	81 e6 00 fe ff 00    	and    $0xfffe00,%esi
    7d0f:	03 7d 0c             	add    0xc(%ebp),%edi
    7d12:	39 f7                	cmp    %esi,%edi
    7d14:	76 23                	jbe    7d39 <readseg+0x49>
    7d16:	c1 ea 09             	shr    $0x9,%edx
    7d19:	8d 5a 01             	lea    0x1(%edx),%ebx
    7d1c:	8d 74 26 00          	lea    0x0(%esi),%esi
    7d20:	89 34 24             	mov    %esi,(%esp)
    7d23:	81 c6 00 02 00 00    	add    $0x200,%esi
    7d29:	89 5c 24 04          	mov    %ebx,0x4(%esp)
    7d2d:	83 c3 01             	add    $0x1,%ebx
    7d30:	e8 4b ff ff ff       	call   7c80 <readSector>
    7d35:	39 f7                	cmp    %esi,%edi
    7d37:	77 e7                	ja     7d20 <readseg+0x30>
    7d39:	83 c4 08             	add    $0x8,%esp
    7d3c:	5b                   	pop    %ebx
    7d3d:	5e                   	pop    %esi
    7d3e:	5f                   	pop    %edi
    7d3f:	5d                   	pop    %ebp
    7d40:	c3                   	ret    
    7d41:	eb 0d                	jmp    7d50 <bootMain>
    7d43:	90                   	nop    
    7d44:	90                   	nop    
    7d45:	90                   	nop    
    7d46:	90                   	nop    
    7d47:	90                   	nop    
    7d48:	90                   	nop    
    7d49:	90                   	nop    
    7d4a:	90                   	nop    
    7d4b:	90                   	nop    
    7d4c:	90                   	nop    
    7d4d:	90                   	nop    
    7d4e:	90                   	nop    
    7d4f:	90                   	nop    

00007d50 <bootMain>:
    7d50:	55                   	push   %ebp
    7d51:	89 e5                	mov    %esp,%ebp
    7d53:	56                   	push   %esi
    7d54:	53                   	push   %ebx
    7d55:	83 ec 10             	sub    $0x10,%esp
    7d58:	c7 44 24 08 00 00 00 	movl   $0x0,0x8(%esp)
    7d5f:	00 
    7d60:	c7 44 24 04 00 10 00 	movl   $0x1000,0x4(%esp)
    7d67:	00 
    7d68:	c7 04 24 00 00 01 00 	movl   $0x10000,(%esp)
    7d6f:	e8 7c ff ff ff       	call   7cf0 <readseg>
    7d74:	81 3d 00 00 01 00 7f 	cmpl   $0x464c457f,0x10000
    7d7b:	45 4c 46 
    7d7e:	74 02                	je     7d82 <bootMain+0x32>
    7d80:	eb fe                	jmp    7d80 <bootMain+0x30>
    7d82:	a1 1c 00 01 00       	mov    0x1001c,%eax
    7d87:	8d 98 00 00 01 00    	lea    0x10000(%eax),%ebx
    7d8d:	0f b7 05 2c 00 01 00 	movzwl 0x1002c,%eax
    7d94:	c1 e0 05             	shl    $0x5,%eax
    7d97:	8d 34 03             	lea    (%ebx,%eax,1),%esi
    7d9a:	39 f3                	cmp    %esi,%ebx
    7d9c:	73 20                	jae    7dbe <bootMain+0x6e>
    7d9e:	8b 43 04             	mov    0x4(%ebx),%eax
    7da1:	89 44 24 08          	mov    %eax,0x8(%esp)
    7da5:	8b 43 14             	mov    0x14(%ebx),%eax
    7da8:	89 44 24 04          	mov    %eax,0x4(%esp)
    7dac:	8b 43 08             	mov    0x8(%ebx),%eax
    7daf:	83 c3 20             	add    $0x20,%ebx
    7db2:	89 04 24             	mov    %eax,(%esp)
    7db5:	e8 36 ff ff ff       	call   7cf0 <readseg>
    7dba:	39 de                	cmp    %ebx,%esi
    7dbc:	77 e0                	ja     7d9e <bootMain+0x4e>
    7dbe:	a1 18 00 01 00       	mov    0x10018,%eax
    7dc3:	25 ff ff ff 00       	and    $0xffffff,%eax
    7dc8:	ff d0                	call   *%eax
    7dca:	8d b6 00 00 00 00    	lea    0x0(%esi),%esi
    7dd0:	eb ae                	jmp    7d80 <bootMain+0x30>
    7dd2:	90                   	nop    
    7dd3:	90                   	nop    

00007dd4 <myPrintfDebug>:
    7dd4:	55                   	push   %ebp
    7dd5:	89 e5                	mov    %esp,%ebp
    7dd7:	57                   	push   %edi
    7dd8:	8b 7d 08             	mov    0x8(%ebp),%edi
    7ddb:	b4 0c                	mov    $0xc,%ah
    7ddd:	8a 45 0c             	mov    0xc(%ebp),%al
    7de0:	65 66 89 07          	mov    %ax,%gs:(%edi)
    7de4:	5f                   	pop    %edi
    7de5:	c9                   	leave  
    7de6:	c3                   	ret    
